package com.srit.core.bean;

import java.util.List;

import com.srit.forecast.constant.Constant;

/**
 * 分页对象
 * 
 * @author guan
 * 
 */
public class Page {
	private int pageNum = 0;
	private int pageSize = Constant.DEFAULT_PAGESIZE;
	private int totalNum;
	private int startPage;
	private int totalPage;
	private List list;// 查询结果
	private int count;// 总条数

	public int getPageNum() {
		return pageNum;
	}

	public void setPageNum(int pageNum) {
		this.pageNum = pageNum;
	}

	public int getPageSize() {
		return pageSize;
	}

	public void setPageSize(int pageSize) {
		this.pageSize = pageSize;
	}

	public int getTotalNum() {
		return totalNum;
	}

	public void setTotalNum(int totalNum) {
		this.totalNum = totalNum;
	}

	public int getStartPage() {
		return startPage;
	}

	public void setStartPage(int startPage) {
		this.startPage = startPage;
	}

	public int getTotalPage() {
		return totalPage;
	}

	public void setTotalPage(int totalPage) {
		this.totalPage = totalPage;
	}

	public List getList() {
		return list;
	}

	public void setList(List list) {
		this.list = list;
	}

	public int getCount() {
		return count;
	}

	public void setCount(int count) {
		this.count = count;
	}

}
